package cn.zy.framework.util;

import org.apache.commons.lang3.StringUtils;

/**
 * @Author: Administrator
 * @Description:
 * @Date: Created in 17:28 2021/9/9
 * @Modified By:
 * @version: 1.0
 */
public final class StringUtil {

	public static boolean isEmpty(String str){
		if (str != null){
			str = str.trim();
		}
		return StringUtils.isEmpty(str);
	}

	public static boolean isNotEmpty(String str){
		return !isEmpty(str);
	}


}
